Client-side security for tokenized transactions

ABSTRACT

Embodiments include a method for configuring a token transfer device for electronic transactions. The method can include requesting, by a token transfer device, one or more tokens having specified transaction exchange value; receiving, over a network, the one or more tokens; assigning, by the token transfer device, validation parameters indicating conditions under which the one or more tokens will be accepted in a transaction; determining, by the token transfer device, that one or more of the conditions have been met based on data provided by electronic components of the token transfer device; and initiating the transaction with a point of sale system.

RELATED APPLICATIONS

This application is a Continuation of and claims the priority benefit ofU.S. application Ser. No. 16/016,289 filed Jun. 22, 2018, which is acontinuation of and claims priority benefit of U.S. application Ser. No.14/962,116 filed Dec. 8, 2015, which is a continuation of and claimspriority benefit of U.S. application Ser. No. 14/605,446 filed Jan. 26,2015.

BACKGROUND

Embodiments of the disclosed subject matter generally relate to thefield of processing intermediate representations in multi-devicecomputer transactions. More particularly, the inventive subject matterrelates to providing client-side security for multi-device tokenizedtransactions.

Magnetic stripe cards have long been the main form of performing mobileelectronic transactions in which a reader in a point-of-sale (POS) orother transaction terminal receives account information encoded in thestripe. These magnetically encoded cards are used in for retailpurchases, coupon redemption, etc. The account data retrieved from acard is sent by the transaction terminal to a resource account serverthat responds with authorization to apply resources from a specifiedresource account such as a bank checking or savings account.

Substantial developments in the capacity and flexibility of operation ofmobile electronics devices (e.g., smartphones) has resulted indevelopments in mobile electronic payments by portable electronicdevices such as smartphones. Radio frequency (RF) interfaces, such asnear-field-communication (NFC), are typically utilized for mobileelectronic transactions rather than the traditional magnetic stripereaders. Mobile payment solutions include electronic or mobile money andelectronic or mobile wallets. While mobile payment systems continue todevelop using recently developed technology, security remains asignificant issue for electronic transaction systems.

SUMMARY

A method is disclosed for processing transactions within a tokentransfer device, such as a smartphone or other portable electronicdevice. The method includes storing a transaction token having aspecified transaction resource value and an associated validationparameter in the memory of the token transfer device. A transactioncommunication interface initiates a transaction service with a tokenrecipient terminal and invokes a token state manager. The token statemanager determines an event corresponding to the specified validationparameter by determining a transaction resource network connect activitystatus and by determining condition register data associated with thevalidation parameter. The token state manager then issues a transactionmodification call based on the determined event and the validationparameter.

BRIEF DESCRIPTION OF THE DRAWINGS

The present embodiments may be better understood, and numerous objects,features, and advantages made apparent to those skilled in the art byreferencing the accompanying drawings.

FIG. 1 is a high-level system diagram depicting components that areincluded in or may interact with a client-side token security system inaccordance with an embodiment;

FIG. 2 is a block diagram illustrating a token transfer device inaccordance with an embodiment;

FIG. 3 is a signaling diagram depicting a token transfer messageprotocol in accordance with an embodiment;

FIG. 4A is a conceptual diagram illustrating a token construct inaccordance with an embodiment;

FIG. 4B is a conceptual diagram illustrating validation parametersencoded as tags associated with a token in accordance with anembodiment;

FIG. 5 is a conceptual diagram of a token state manager transactionevent table in accordance with an embodiment;

FIG. 6 is a high-level flow diagram illustrating steps and functions forconfiguring a token transfer device to process token transactions inaccordance with an embodiment;

FIG. 7 is a high-level flow diagram depicting steps performed forprocessing a token transaction in accordance with an embodiment;

FIG. 8 is a flow diagram depicting steps performed by a token statemanager during a token transaction in accordance with an embodiment; and

FIG. 9 is a block diagram of a computer system for performing thefunctions described with reference to FIGS. 1-8.

DESCRIPTION OF EMBODIMENT(S)

The description that follows includes exemplary systems, methods,techniques, instruction sequences and computer program products thatembody techniques of the present inventive subject matter. However, itis understood that the described embodiments may be practiced withoutthese specific details. In other instances, well-known instructioninstances, protocols, structures and techniques have not been shown indetail in order not to obfuscate the description.

Embodiments described herein enable secure online or offline mobiledevice payments using a network accessible transaction resource. FIG. 1is a high-level system diagram depicting systems that are included in ormay interact with a client-side token security system in accordance withan embodiment. The systems include a network 114 providing connectivityover which a resource transaction server 110 communicates with awireless device 140 and a point-of-sale (POS) system 133. Theconnectivity may be established by multiple subnetworks and differenttypes of network components, connection media and protocols, and carrierservices such as fiber optic cables, telephone lines, Ethernet 802, andInternet protocols. In one aspect, network 114 enables communicationsbetween wireless device 140 and resource server 110 in support ofprocessing of a specified resource account among multiple resourceaccounts (not depicted) that are stored as account data within anaccounts database 108 and managed by an account manager 106 withinresource server 110. In another aspect, network 114 enablescommunications between resource server 110 and POS system 133 in supportof resource transactions, such as a credit amount transfer during acredit card payment transaction, in which resource server 110authenticates or otherwise validates encoded account informationprovided to POS system 133 such as by wireless device 140.

Resource server 110 and accounts manager 106 are typically associatedwith a financial institution such as a bank or credit issuinginstitution that establishes and organizes monetary accounts associatedwith and accessible by account clients. In the depicted embodiment,resource server 110 includes a network interface 112 for communicatingacross network 114 in support of resource account transactioncommunications with accounts manager 106. Accounts database 108 storesaccount data, typically on behalf of individual users or institutions,that may include debit and credit accounts, transaction types (e.g.,online or offline), and transaction instruments (e.g., credit card,debit card, etc.). Accounts manager 106 performs related roles oftracking account information and verifying the account informationduring POS transactions such as conducted between wireless device 140and POS system 133. During a payment transaction, for example, resourceserver 110 may send a transaction authorization to POS system 133 inresponse to processing specific transaction information (e.g., purchaseamount and account identification) sent by POS system 133.

Resource server 110 further includes a transaction token manager 102that may be integrated with or otherwise communicatively coupled toaccounts manager 106. Token manager 102 generates and maintainsaccount-specific transaction tokens 104 in association with accountsstored within accounts database 108. As utilized “token” and “tokenidentification” may be used synonymously to designate a data structureutilized for representing a transaction resource. In the case of atokenized financial transaction, tokens are used to replace sensitivepayment data with a relatively unique identifier that is difficult orimpossible to mathematically reverse. The resource data (e.g., customerand account identity and payment data) is centrally stored and managedby accounts manager 106, which as explained above, is typically operatedby the underlying resource provider or broker.

POS system 133 is depicted in FIG. 1 as including a network interface132 for communicating over network 114 as well as a processor 134 andassociated system memory 136. A transaction processor application 136 isstored in memory 135 and executed by processor 134 in support of paymenttransactions such as between wireless device 140 and POS system 133.Transaction processor application 136 includes executable code andlogical processing constructs for processing payment account informationreceived at a payment interface such as an NFC reader/controller 138,and generating a corresponding payment account authorization requestthat POS system 133 sends to resource transaction server 110. Morespecifically, POS system 133 executes transaction processor application136 to read account data from a payment device, to confirm viacommunications with resource server 110 that authorized accountresources are available, to cooperate with resource server 110 intransferring the account resources (e.g., monetary credit) from thespecified account to another account, and to record the transaction.

Wireless device 140 includes a network interface 141, a processor 142and an associated system memory 145 that stores data and system andapplication software. Network interface 141 comprises hardware andsoftware components to implement transceiver connectivity and protocolprocessing to enable wireless device 140 to communicate withnetwork-connected devices such as resource transaction server 110 andPOS system 133. Network interface 141 includes a wireless networkinterface controller (not depicted) and other devices and logiccomponents for connecting, disconnecting and sending and receivingmessages across RF-based networks. Processor 142 and memory 145 mayprovide additional processing capability necessary for networkcommunications and furthermore enable wireless device 140 to performother information handling tasks related to, incidental to, or unrelatedto the methods described herein. In various embodiments, wireless device140 may be contained in different external dimensions, packaging andform factors. Mobile device 140 may be a cell phone or other type ofmobile phone or highly integrated portable device such as a smartphoneor any other type of portable electronic device having networkconnectivity.

Wireless device 140 further includes a Near Field Communication (NFC)controller 146 for communicating with POS system 133 through NFC readermodule 138. NFC is a form of “contactless” RF communication technologythat enables one-way or two-way communication between terminals (devicesor endpoints) that are in relative close proximity (typically a within afew centimeters). A transaction service connection may be established bypositioning, waving, or otherwise moving wireless device 140 near oronto NFC reader 138. In some embodiments, a connection may also beestablished by directly contacting wireless device 140 to the surface areader such as NFC reader 138.

FIG. 1 further depicts a wearable electronic device (“wearable device”)120 that, like wireless device 140, includes a processor 122, anassociated system memory 125, and an NFC controller 126. A wearabledevice, such as wearable device 120, is classified in one respect as atype of electronic device having a form factor suitable for beingattached in some manner to a user. For example, wearable device 120 maybe form factored to be fastened to, adhered to, hung onto, or otherwisefixedly attached to an article of clothing or a part of a user's bodysuch as a wrist, nose, ear, etc. Other significant features common towearable computing devices include relatively continuous activeoperation and a form factor enabling continuous and uninterrupted accessto and usage of the device by the user. Examples of wearable device formfactors include those similar to eyeglasses (e.g., Google Glass) or awristbands. Wearable device 120 may be used for general or specialpurpose processing and communication activities that require morecomplex computational support than pre-coded hardware logic alone.

The depicted systems and components generally enable account resourcetransactions whereby, for example, a user may make payments usingaccounts maintained by and associated with the user by the componentswithin resource server 110. NFC-enabled devices such as wearable device120 and wireless device 140 are examples of devices that areincreasingly being used for mobile resource transactions such as mobilePOS (mPOS) transactions. Fundamentally, an NFC service transactionbetween a mobile device, such as either of devices 120 and 140, and aPOS terminal such as POS system 133, entail the NFC controller andassociated transaction applications emulating a physical transactionpayment instrument such as a credit card. For example, wireless device140, which is typically hand-carried by a user, may interact with POSsystem 133, which is typically included in onsite retail transactionequipment of a vendor, to process a payment transaction as follows.

Wireless device 140 operates as an initiator device and therefore beginsa service transaction by requesting a peer-to-peer service transactionwith POS system 133, which operates as the target device. The respectiveNFC controllers 146 and 138 operate in request/reply mode following theinitial request for service to process and complete the transaction. NFCcontroller 146 directly or indirectly (e.g., via security logic)communicates with a resource transaction application (not depicted)associated with a resource account maintained by resource server 110.The resource transaction application is stored in and executed bywireless device 140 to access monetary or other transaction exchangevalues. During the transaction, wireless device 140 may communicate withpayment resource server 110 to access applicable account informationwhich can then be used in the transaction. Similarly, wearable device120 can be used as a physical payment proxy in transacting with POSsystem 133 via NFC reader/controller 138. However, since wearable device120 is not network-enabled (i.e., includes no network interface), itmust rely on receiving account information from a suitably pairednetwork-enabled device such as wireless device 140 or must use accountinformation stored locally within memory 125. In the case of devicepairing, wearable device 120 may be communicatively coupled (such as viaa Bluetooth connection) with wireless device 140 which operates as anintermediary, transferring account information from resource server 110to wearable device 120. POS system 133 receives and processes theaccount information from wearable device 120 in order to complete thetransaction. In the case of internal account information storage,wearable device 120 may either present locally pre-stored, staticaccount information.

Distributed transmission, storage, and usage of actual account datapresent a variety of resource account data security issues. For bothwireless device 140 and wearable device 120, the depicted embodimentprovides a tokenized transaction service that addresses data securityissues that may otherwise arise. Namely, wireless device 140 andwearable device 120 may retrieve, store, process, and send transactiontokens such as tokens 148 and 128 during service transactions with POSsystem 133 such that little, if any, account information is required tobe transferred between devices 140 or 120 and system 133.

FIG. 2 is a block diagram illustrating a token transfer device 200 inaccordance with an embodiment. The depicted embodiment shows tokentransfer device 200 as including a network interface 202 such as may beincluded with a wireless, network-enabled device such as a mobile phone.It should be noted, however, that the token transaction functionalitydepicted and described with reference to FIG. 2 may also be packaged inand implemented from a non-network enabled device such as wearabledevice 120 depicted in FIG. 1. It should be further noted thatcomponents and functions that are typically included with mobileelectronic device such as user input/output mechanisms and displays maybe incorporated in device 200 but are not illustrated to avoidobfuscation. Token transfer device 200 further includes a host processor204 and associated host memory 210 which cooperatively function tomanage various system-level and application-level programs and data thatenable device 200 to perform various transaction service tasksassociated with resource transaction accounts such as those describedwith reference to FIG. 1. Device 200 further includes a transactioncommunication interface in the form of an NFC interface 211 in thedepicted embodiment. NFC interface 211 comprises an NFC controller 207for communicating with a POS system or other active NFC transactionterminal. NFC interface 211 also includes an NFC antenna 209 forgenerating and maintaining wireless connectivity with other NFC devicessuch as an NFC-enabled POS system.

Consistent with known memory management and organization techniques,memory 210 is allocated between a system memory addressable space 222and an application-level addressable space 217. System memory space 222stores programs and supporting data that control operations of device200 and its components. The system software stored within system memoryspace 222 includes operating system (OS) software that coordinate allthe activities among computer hardware devices, and utility programsoftware that performs a specific task, usually related to managing acomputer, its devices, or its programs.

In the depicted embodiment, an operating system (OS) 215 and a tokenstate manager utility 225 are maintained within system memory space 222.OS 215 may be a flexible, multi-purpose OS such as the Android OS foundin smartphones or may be an embedded OS having more specializedfunctions such as may loaded within a wearable electronic transactiondevice. OS 215 generally comprises code for managing and providingservices to hardware and software components within device 200 to enableprogram execution. Among other code and instructions, OS 215 includesprocess management code 232 comprising instructions for interfacingapplication code with system hardware and software. OS 215 furtherincludes memory management code 234 for allocating and managing memoryfor use by application and system-level programs. OS 215 furtherincludes I/O system management code 236 including device drivers thatenable the system's hardware to communication with external computersystems.

In the depicted embodiment, a pair of transaction resource applications206 and 208 are stored in respective application memory spaces 217 and219. Transaction resource applications 206 and 208 each contain programinstructions and data associated with a respective transaction resourceaccount. For example, transaction resource application 206 may be a userapplication including program instructions and data associated with ageneral purpose (i.e., “open-loop”) credit account, while transactionresource application 208 may be a user application comprising programinstructions and data associated with a specified single-vendor (i.e.,“closed loop”) credit account. Transaction resource applications 206 and208 operate to enable processing and retrieval of transaction accountinformation including transaction exchange values (e.g., monetary creditvalues) available from one or more user accounts. In addition,transaction resource applications 206 and 208 operate torequest/retrieve and process transaction tokens that may be utilized forservice transactions such as with a POS system. In the depictedembodiment, each of transaction resource applications 206 and 208includes instructions and data enabling each to request and/or generatetransaction tokens using the processing and network communicationscomponents within device 200.

A pair of transaction tokens, TOKEN_1 and TOKEN_2, are stored inassociation with transaction resource application 206, and a token,TOKEN_3, is stored in association with transaction resource application208. Transaction tokens TOKEN_1, TOKEN_2, and TOKEN_3 may have beenrequested from one or more resource account managers, such as accountmanager 106 shown in FIG. 1, or may have been locally generated. Thetokens are used in processing vending transactions as, in effect, areplacement for account information that would otherwise be required bya POS system to validate an account and confirm that adequate accountresources are available for a given transaction. Each token includes atoken ID and a transaction exchange value. The token ID may be apseudo-randomly generated number or alphanumeric code that is assignedand recorded when the token is initially generated. The transactionexchange value is typically a numerical monetary value specified indesignated exchange units. As explained in further detail with referenceto FIGS. 4 and 5, tokens further include or are otherwise logicallyassociated with condition or validation parameters that are encoded byany of a resource account manager, a token transfer device such asdevice 200, or other intermediary device that may obtain the tokens tolimit the conditions under which the tokens may be utilized in resourcetransactions.

The depicted embodiment further includes a token manager application 221stored within and executed from application memory space 220. Tokenmanager 221 may perform some or all of the token-related functions thatwould otherwise be assigned to transaction resource applications 206 and208. As shown, token manager 221 comprises management code 227 thatincludes instructions and data for enabling validation parameters to beassociated with tokens, including assigning, modifying, and/or removingvalidation parameters, depicted as TAGS_1, TAGS_2, and TAGS_3 associatedwith TOKEN_1, TOKEN_2, and TOKEN_3, respectively. Token manager 221 mayfurther encompass or include logical associations with the token datastructures, TOKEN_1, TOKEN_2, and TOKEN_3.

In addition to the token retrieval and management provided at anapplication-level by token manager 221 and/or transaction resourceapplications 206 and 208, device 200 includes system-level tokenmanagement code that enables universal conditioning and processing oftoken transactions for tokens having application-specific attributes.Specifically, system memory space 222 includes a token state manager 225that operates in conjunction with OS 215, token manager 221, andtransaction resource applications 206 and 208 to condition/limit tokentransactions in accordance with processing and network environmentfactors as well as transaction-specific conditions. Token state manager225 has programmed access to a set of one or more special purposeregisters (SPRs) 224, 226, and 228 which store specified conditions andparameters relating to whether and/or to what extent a particular tokentransaction may be processed. As explained in further detail withreference to FIGS. 4-8, token state manager 225 may process thecondition/parameter data in SPRs 224, 226, and 228 in programmedcombinations that may be designated as “events.” In one embodiment, SPR224 may store a resource connectivity flag that indicates whether or nota network interface program, such as web browser, and/or a client sidetransaction resource application program within device 200 is activelycommunicatively connected to a specified remote resource accountinterface program. SPR 224 may also store a flag indicating currentconnectivity with a specified resource account network interface, suchas a web document or page corresponding to a particular user account.SPRs 226 and 228 may store data or single-bit flags indicatingconditions that token state manager 225 applies to determine whether ornot to issue a transaction modification call.

As explained in further detail with reference to FIGS. 3-8, token statemanager 225 is invoked during a transaction service request and operatesto determine whether or not to issue a transaction modification calldepending on the connectivity status of device 200 and other conditionsspecified by the SPRs. In one embodiment, token state manager 225 may beinvoked originally by a transaction communication interface, such as NFCinterface 211, and via OS 215 during a transaction service request. Inanother embodiment, token state manager 225 may be invoked directly andoriginally by OS 215 in response to OS 215 detecting processing of aservice transaction request by NFC interface 211.

FIG. 3 is a signaling diagram depicting a token transfer protocol inaccordance with one embodiment. The entities operably involved in theexample token transfer process include a resource account server 306, aresource interface device 302, a token transfer device 304, and a tokenrecipient terminal 308. Resource account server 306 includes hardwareand software for managing resource accounts and for processing 3^(rd)party transactions. Resource interface device 302 is a network-enabledportable electronic device, such as a smartphone, that includes alocally stored resource account program that may be executed inconjunction with a network access program, such as a web browser, tocommunicatively access resource account server 306 across a network.Token transfer device 304 is a portable electronic device that may ormay not be network-enabled, and which includes at least one direct,near-field communication interface by which is can communicate with atoken recipient terminal 308 and resource interface device 302.

The protocol begins as shown with resource interface device 302executing a network access program 312 such as a web browser accessfollowed by a network transaction 314 in which resource interface 302installs a resource account application program received from resourceserver 306. The locally installed account resource program enablesresource interface device 302 to access, modify, and send specifiedresource account information and requests to and from resource server306. As further depicted, resource interface device 302 sends a tokenrequest message 316 to resource server 306. Token request 316 may begenerated by the locally installed resource account application programand communicated over a network interface. Resource server 306 respondswith a token send message 318 that includes at least one token andassociated account information. Resource interface device 302 stores thetoken(s) in local storage in association with a corresponding resourceaccount application and/or in association with a separate tokenmanagement application. For example, if resource server 306 issues atoken to be used as a transaction item for a specified credit cardaccount, resource interface device 302 may store the token in localstorage and in memory allocated for a resource account applicationcorresponding to the credit card account.

In accordance with an aspect of the depicted embodiment, resourceinterface device 302 further includes a token manager application, suchas token manager 221 in FIG. 2, which may be used to generatetransaction condition tags that specify one or more validationparameters and associate the tags with one or more of the token(s).Resource interface device 302 may use the token-associated tags duringtokenized resource transactions such as with token recipient terminal308 as depicted and described in further detail with reference to FIGS.5-8. Alternately, and as shown in FIG. 3, the tokens and associated tagsare sent (e.g., upload/download) to token transfer device 304, which maybe a wearable electronic device such as device 120 in FIG. 1. Tokentransfer device 304 includes a near-field communication interface thatcan be used in conjunction with a locally stored resource accountapplication to initiate an account service transaction such as via atransaction request 322 sent from token transfer device 304 to tokenrecipient terminal 308.

During a setup transaction phase commenced upon the transaction request322, token transfer device 304 calls or otherwise invokes a token statemanager such as token state manager 225 in FIG. 2. As depicted in FIG.3, the call may be an internal OS call 326 or may be a near-field (e.g.,via Bluetooth) message 324 prompting resource interface device 302 tointernally call a locally stored token state manager. Once called, andduring an initialization protocol 326 which may include a clientrequested suspension, the token state manager processes thetoken-associated tags in combination with system and transactioncondition information that may be stored in system registers withineither or both of token transfer device 304 and resource interfacedevice 302. The token state manager, either locally from token transferdevice 304 or remotely from resource interface device 302, determines atransaction event from the tag/condition processing and, based ontransaction event rules, may cancels the transaction, invalidate thetoken, or modify the token prior to continuing the transaction via atransaction message 330. Token recipient terminal 308 responds toreceipt of a token, modified or not, by sending an account authorizationrequest 332 to resource server 306.

FIG. 4A is a conceptual diagram illustrating a token construct inaccordance with one embodiment. The depicted token construct includes atoken 400 which may be generated by a resource account program storedwithin a resource server or by a resource account program locally storedwithin a portable electronic device. Token 400 includes a token ID field405 that contains a pseudo-randomly generated numeric or alphanumericcode that serves to identify the token such as by a token recipientterminal which sends the token ID to a resource account manager whichcan map the token ID to centrally stored account information. Token 400further includes a total value field 406 and a per-transaction valuelimit field 408. Total value field 406 specifies a number of resourcevalue units (e.g., number of US dollars) that are assigned as a totalcredit value to token 400 and usable via resource transactions (e.g.,POS transactions). Transaction limit field 408 specifies the maximumnumber of resource units that is authorized to be used in any singleresource transaction.

As further depicted, a set of validation parameters 404 are logicallyassociated with token 400. The association of one or more of validationparameters with token 400 may be implemented by a locally storedresource account application or a token manager generating usage tagsspecifying the validation parameter(s). The association may beeffectuated by inserting the validation parameter value withinpre-specified fields in a token data structure or by concatenating a tagdata structure containing the respective validation parameter fieldsonto the token data structures. Alternatively, the data structureentailing token 400 and the data structure entailing the validationparameters 404 may be maintained in separately named and stored datastructures that are otherwise programmatically associated such as viathe resource account application program. As shown in further detailwith reference to FIG. 4B in conjunction with FIG. 4A, validationparameters 404 include a token validation/invalidation flag 410, aresource connect invalidate (RCI) field 412, and a resource disconnectinvalidate (RDI) condition field 414. Validation flag 410 is typically asingle bit flag that may be asserted and/or de-asserted by user input tothe resource account application or by operation of a locally stored andexecuted token manager or token state manager.

RCI field 412 contains information that specifies one or more particularenvironmental or transactional parameters that are processed inassociation with a determination that the host token transfer device iscurrently (i.e., in real time) communicatively connected to a remoteresource account server or to an account interface program executed bythe resource server. The illustrated RCI field 412 includes a GEO_NOT_USsub-field 420 and a RT_NOT_AUTH sub-field 422. GEO_NOT_US sub-field 420specifies whether or not the host token transfer devices is currentlylocated within the geographic boundaries of the United States such asmay be determined by Global Positioning System (GPS) functionalitywithin the device. RT_NOT_AUTH sub-field 422 specifies a resourcetransaction type (e.g., transaction requiring express recipient terminalauthentication) or other resource transaction characterization (e.g.,transaction involving a particular product type) for which the token isnot authorized to be used.

RDI field 414 contains information that specifies one or more particularenvironmental or transactional parameters that are processed inassociation with a determination that the host token transfer device isnot currently communicatively connected to a remote resource accountserver or to an account interface program executed by the resourceserver. The depicted RDI field 414 includes a GEO_NOT_NYC sub-field 424and a RT_NOT_AUTH sub-field 426. GEO_NOT_NYC sub-field 424 specifieswhether or not the host token transfer devices is currently locatedwithin the geographic boundaries of a city, such as New York City, asmay be determined by GPS functionality. RT_NOT_AUTH sub-field 426specifies a resource transaction type (e.g., transaction requiringexpress recipient terminal authentication) or other resource transactioncharacterization (e.g., transaction involving a particular product type)for which the token is not authorized to be used.

As explained in further detail with reference to FIGS. 5-8, a tokenstate manager selects the parameters 420 and 422 included in RCI field412, or selects the parameters 424 and 426 included in RDI field 414 asthe overriding validation parameters to be used in determining whetheror not to modify a token status (e.g., invalidate the token) and/orcancel an initiated transaction sequence. Consistent with an aspect ofthe depicted embodiments, the selection is based on a real-timedetermination of whether or not the host token transfer device iscurrently communicatively coupled over a network to a resource accountprogram corresponding to the resource account from which the token wasissued.

FIG. 5 is a conceptual diagram of a transaction event table 500 inaccordance with one embodiment. As explained in further detail withreference to FIGS. 6-8, a token state manager may access event table 500during a resource transaction to modify the transaction and/or modifythe subject token(s) that may be utilized during the transaction. Eventtable 500 includes token parameter and event condition values logicallycategorized by column and logically associated within each row. In thedepicted embodiment, event table 500 includes columns designatedPARAMETER, C_REG, REG_VAL, RCI_T1, RDI_T1, RCI_T2, and RDI_T2. Thefields in the C_REG column specify the identity of individual systemregisters and the fields in adjacent column REG_VALUE specify valuesthat are recorded in the corresponding system registers, such as SPR's224, 226, and 228 in FIG. 2. The fields in the RCI_T1 column specifyvalues that are entered as usage parameters for a generated Token_1 andthat are to be applied when the host token transfer device has beendetermined to be communicatively connected to a resource account networkinterface. The fields in the RDI_T1 column specify values that areentered as usage parameters for the same Token_1 and that are to beapplied when the host token transfer device has either not beendetermined to be communicatively connected to a resource account networkinterface or has been affirmatively determined not to be connected tothe interface.

The PARAMETER column includes multiple application or system modifiablefields that specify the types/categories of parameters and correspondingconditions will be recorded as system conditions or preset requisitelimits in the respective rows. The depicted PARAMETER column specifiesthe condition parameters as including a maximum transaction resourcevalue, MAX_INCREMENT, a geographic location, GEO, an NFC readerauthentication level, AUTHEN_NFC_ID, and a body contactvalidate/invalidate condition, BC/BCI. As illustrated, the MAX_INCREMENTrow includes fields that specify preset maximum per-transaction resourcevalue limits for tokens T1 and T2 including RCI_T1 (500 units), RDI_T1(25 units), and RDI_T2 (20 units) and which are stored in event table500 following processing of the corresponding validation parametersassociated with tokens T1 and T2. The GEO row includes a fieldidentifying condition register CR_2 as holding a current geographiclocation specifier (LOCAL or REMOTE) for the host token transfer device,and associated fields specifying LOCAL/REMOTE as transaction limitationparameters for tokens T1 and T2. The AUTHEN_NFC_ID row includes a fieldidentifying the condition register CR_3 as holding an NFC readerauthentication level (from among LEVELS 1-3), and associated fieldsspecifying that token T1 requires LEVEL 3 reader authentication when thehost device is connected (per the RCI_T1 entry) but a higher level,LEVEL 2, when disconnected (per the RD_T1 entry). Similarly, the RCI_T2and RDI_T2 validation parameter entries for the AUTHEN_NFC_ID rowindicate that LEVEL_2 authentication is required for connected modetransaction of token T2 and LEVEL_1 authentication is required fordisconnected mode transaction of token T2. The BC/BCI row may beincluded in a transaction event table for tokens that may be transferredby a wearable electronic device, such as device 120 depicted anddescribed with reference to FIG. 1. The illustrated BC/BCI row includesa C_REG field identifying condition register CR_4 as holding a flagindicating whether the host wearable token transfer device currentlydetects being in some form of physical contact or proximity with a user(e.g., wearer) of the device. The BC/BCI row further includes fieldsspecifying that body contact (represented as BC flag) is required fortransacting either of token T1 or T2 when the host device is notcurrently connected to a resource interface.

FIG. 6 is a high-level flow diagram illustrating steps and functions forconfiguring a token transfer device to process token transactions inaccordance with an embodiment. The process begins as shown at steps 602and 604 with a token transfer device or a resource interface devicerequesting one or more tokens. In one embodiment, the request is from aresource interface device, which may or may not also include tokentransfer functionality, to a resource account manager interface. Inanother embodiment, the request is from a token transfer device, such asa wearable electronic device that does not have network access but doeshave a near field communication interface such as Bluetooth. In thisembodiment, the request is sent by the wearable device to a proximatelylocated partner device such as a network enabled smartphone. As shown atstep 604, the request typically specifies a transaction exchange valuein monetary or other credit value units.

As depicted at step 606 and 608, one or more tokens are received from atoken issuing system such as a resource account management system inresponse to the request and are assigned validation parameters such asthe parameters depicted in FIGS. 4 and 5. The validation parameters maybe assigned by user interaction with a token resource managerapplication or a system-level token state manager. The process continuesas shown at step 610 with a determination of whether the host devicethat received the tokens includes a locally stored transaction resourceapplication from which the underlying token values were generated. Theresource application may be, for example, a proprietary credit cardapplication for locally managing account information for an account fromwhich the tokens were generated. If so, the received tokens are storedin logical association with the assigned validation parameters in theapplication memory space allocated to the resource application (step612). Whether or not the tokens are stored in association withcorresponding local resource account applications, a token state managerdetermines conditions corresponding to the assigned validationparameters (step 614) and loads the token-associated parameters inassociation with system condition registers (step 615) in a manner suchthat the token state manager can subsequently compare the loadedparameter values with corresponding condition values such as thosedepicted in event table 500 in FIG. 5. Token configuration concludes asdepicted at steps 616 and 618 with the token state manager settinginterrupt conditions corresponding to transaction event rules that areutilized as described in further detail with reference to FIGS. 7 and 8.

FIG. 7 is a high-level flow diagram depicting steps performed forprocessing a token transaction in accordance with one embodiment. Theprocess begins as shown at steps 702 and 704 with a token managerapplication assigning and associating validation parameter tags with atoken. During periods between token transactions, a token state manageroperates as a continuous background process to periodically update eventcondition registers such as CR_2, CR_3, and CR_4 shown in FIG. 5 (steps706, 708, and 710). As depicted at steps 706, 712, and 714, one or bothof a token state manager and/or an application level token manager arecalled or otherwise invoked in response to or in association with atransaction service request from the host token transfer device. Thetoken state manager, possibly in coordination with the token managerapplication, accesses and reads the token-associated validationparameters (step 716). In one embodiment, the token state manager and/orthe application-level token manager access the token-associated tags toread the corresponding validation parameters. In another embodiment, thetoken state manager accesses and reads the validation parameters from acondition table configured as depicted and described with reference toFIGS. 5 and 6.

The process continues as shown at step 718 with the token state managerdetermining whether or not the host token transfer device is currentlycommunicatively connected with a resource account network interface. Theresource account network interface may be as described with reference toFIGS. 1 and 2 and, more specifically, may be an Internet web documenthaving a specified Universal Resource Identifier (URI) that is passwordaccessible. The determination of whether the host token transfer deviceis connected may comprise reading a system register such as SPR 224 inFIG. 2. In response to determining that the token transfer device iscurrently connected with the resource account network interface, thetoken state manager reads the validation parameters applicable to a hostdevice connect condition (step 720). If determined at step 718 that thehost device is not currently connected to the resource account networkinterface, the token state manager reads and applies the validationparameters applicable to a host device disconnect condition (step 722).As shown at step 724, the token state manager accesses and reads andcondition register data corresponding to a connect condition ifdetermined that the host device is connected to the resource accountnetwork interface, or reads condition register data corresponding to adisconnect condition if determined that the host device is connected tothe resource account network interface. In one embodiment, the conditionregister data is accessed from a condition table configured such asdepicted and described with reference to FIGS. 5 and 6.

To determine whether or not to modify the transaction and/or the token,the token state manager compares the condition register data with thecorresponding host-connect or host-disconnect validation parameters(step 725) and applies transaction event rules. The transaction eventrules may comprise program instructions within the token state managerthat, for example, call for a transaction or token modifications basedon relations between fields within a given row of event table 500 inFIG. 5. For example, a transaction event rule may comprise instructionsthat specify a token modification call be issued to reducing a specifiedmaximum transaction value in response to determining that aMAX_INCREMENT value specified in the RDI_T1 field is lower than atransaction maximum value specified as part of the originally issuedtoken. As another example, a transaction event rule may compriseinstructions that specify a transaction cancellation call be issued inresponse to determining a no body contact condition currently exists andthat the corresponding validation parameter specifies a body contactrequirement. The token state manager then determines and issues thetransaction modifications based applying event rules to the comparedvalidation parameter and condition register data (step 726) and theprocess ends (step 728).

FIG. 8 is a flow diagram depicting steps performed by a token statemanager during a token transaction in accordance with one embodiment.The process begins as shown at steps 802 and 804 with the token statemanager processing condition register data with validation parametersthat have been associated with a token via tags or other logicalassociation. The token state manager applies the validation parametersas connect event or disconnect event rules (RCI or RDI rules). The tokenstate manager invalidates the token, such as by de-asserting the VALIDparameter 410 in FIG. 4, if the resultant rule applied to thecorresponding event condition indicates a token invalidating event(steps 806 and 808). The transaction event, determined by the RCI or RDIrules applied to the event conditions, may alternately be a tokenmodification event which the token state manager responds to bymodifying the token (e.g., reducing the token value) accordingly via atoken modification call (steps 810 and 812). Other tokens subject to thetransaction are similarly processed by the token state manager until thetransaction may be resumed and completed (steps 814, 816, and 818).

FIG. 9 depicts an example computer system that include a token statemanager unit 910. The computer system includes a processor 902 (possiblyincluding multiple processors, multiple cores, multiple nodes, and/orimplementing multi-threading, etc.). The computer system includes memory904 which may be system memory (e.g., one or more of cache, SRAM, DRAM,zero capacitor RAM, Twin Transistor RAM, eDRAM, EDO RAM, DDR RAM,EEPROM, NRAM, RRAM, SONOS, PRAM, etc.) or any one or more of the abovealready described possible realizations of machine-readable media. Thecomputer system also includes an interconnect 905 (e.g., PCI, ISA,PCI-Express, HyperTransport®, InfiniBand®, NuBus, etc.), a networkinterface 906 (e.g., an Ethernet interface, a Frame Relay interface,SONET interface, wireless interface, etc.), and a storage device(s) 908(e.g., optical storage, magnetic storage, etc.). Token state managerunit 910 embodies functionality to implement features described abovewith reference to FIGS. 1-8. Token state manager unit 910 may performoperations for configuring tokens and token-associated validationparameters. Token state manager unit 910 may perform application andsystem management operations including processing token transactions ina manner dependent on whether computer system is connected to a resourceaccount network interface. Any one of these functionalities may bepartially (or entirely) implemented in hardware and/or on processor 902.For example, the functionality may be implemented with an applicationspecific integrated circuit, in logic implemented in processor 902, in aco-processor on a peripheral device or card, etc. Further, realizationsmay include fewer or additional components not illustrated in FIG. 9(e.g., additional network interfaces, peripheral devices, etc.).

As will be appreciated by one skilled in the art, aspects of the presentinventive subject matter may be embodied as a system, method or computerprogram product. Accordingly, aspects of the present inventive subjectmatter may take the form of an entirely hardware embodiment, an entirelysoftware embodiment (including firmware, resident software, micro-code,etc.) or an embodiment combining software and hardware aspects that mayall generally be referred to herein as a “module” or “system.”Furthermore, aspects of the present inventive subject matter may takethe form of a computer program product embodied in one or more computerreadable medium(s) having computer readable program code embodiedthereon.

Any combination of one or more computer readable medium(s) may beutilized. The computer readable medium may be a computer readable signalmedium or a computer readable storage medium. A computer readablestorage medium may be, for example, but not limited to, an electronic,magnetic, optical, electromagnetic, infrared, or semiconductor system,apparatus, or device, or any suitable combination of the foregoing. Morespecific examples (a non-exhaustive list) of the computer readablestorage medium would include the following: an electrical connectionhaving one or more wires, a portable computer diskette, a hard disk, arandom access memory (RAM), a read-only memory (ROM), an erasableprogrammable read-only memory (EPROM or Flash memory), an optical fiber,a portable compact disc read-only memory (CD-ROM), an optical storagedevice, a magnetic storage device, or any suitable combination of theforegoing. In the context of this document, a computer readable storagemedium may be any tangible medium that can contain, or store a programfor use by or in connection with an instruction execution system,apparatus, or device.

A computer readable signal medium may include a propagated data signalwith computer readable program code embodied therein, for example, inbaseband or as part of a carrier wave. Such a propagated signal may takeany of a variety of forms, including, but not limited to,electro-magnetic, optical, or any suitable combination thereof. Acomputer readable signal medium may be any computer readable medium thatis not a computer readable storage medium and that can communicate,propagate, or transport a program for use by or in connection with aninstruction execution system, apparatus, or device.

Program code embodied on a computer readable medium may be transmittedusing any appropriate medium, including but not limited to wireless,wireline, optical fiber cable, RF, etc., or any suitable combination ofthe foregoing.

Computer program code for carrying out operations for aspects of thepresent inventive subject matter may be written in any combination ofone or more programming languages, including an object orientedprogramming language such as Java, Smalltalk, C++ or the like andconventional procedural programming languages, such as the “C”programming language or similar programming languages. The program codemay execute entirely on the user's computer, partly on the user'scomputer, as a stand-alone software package, partly on the user'scomputer and partly on a remote computer or entirely on the remotecomputer or server. In the latter scenario, the remote computer may beconnected to the user's computer through any type of network, includinga local area network (LAN) or a wide area network (WAN), or theconnection may be made to an external computer (for example, through theInternet using an Internet Service Provider).

Aspects of the present inventive subject matter are described withreference to flowchart illustrations and/or block diagrams of methods,apparatus (systems) and computer program products according toembodiments of the inventive subject matter. It will be understood thateach block of the flowchart illustrations and/or block diagrams, andcombinations of blocks in the flowchart illustrations and/or blockdiagrams, can be implemented by computer program instructions. Thesecomputer program instructions may be provided to a processor of ageneral purpose computer, special purpose computer, or otherprogrammable data processing apparatus to produce a machine, such thatthe instructions, which execute via the processor of the computer orother programmable data processing apparatus, create means forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks.

These computer program instructions may also be stored in a computerreadable medium that can direct a computer, other programmable dataprocessing apparatus, or other devices to function in a particularmanner, such that the instructions stored in the computer readablemedium produce an article of manufacture including instructions whichimplement the function/act specified in the flowchart and/or blockdiagram block or blocks.

The computer program instructions may also be loaded onto a computer,other programmable data processing apparatus, or other devices to causea series of operational steps to be performed on the computer, otherprogrammable apparatus or other devices to produce a computerimplemented process such that the instructions which execute on thecomputer or other programmable apparatus provide processes forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks.

What is claimed is:
 1. A method for configuring a token transfer devicefor electronic transactions, the method comprising: requesting, by atoken transfer device, one or more tokens having specified transactionexchange value; receiving, over a network, the one or more tokens;assigning, by the token transfer device, validation parametersindicating conditions under which the one or more tokens will beaccepted in a transaction; determining, by the token transfer device,that one or more of the conditions have been met based on data providedby electronic components of the token transfer device; and initiatingthe transaction with a point of sale system.
 2. The method of claim 1,wherein the electronic components include global position sensor, nearfield communication controller, special purpose registers of the tokentransfer device.
 3. The method of claim 2, wherein the validationparameters include a first value associated with a network disconnectstatus of the token transfer device.
 4. The method of claim 3, whereinthe validation parameters further includes a second value associatedwith a network connect status of the token transfer device.
 5. Themethod of claim 1, wherein the initiating the transaction includes:sending a transaction service request to a token recipient terminal ofthe point of sale system; receiving a transaction response from thetoken recipient terminal; and suspending the transaction in response tothe transaction response.
 6. The method of claim 1, wherein thevalidation parameter is assigned by a token management program executedfrom within the token transfer device.
 7. A computer program productincluding a computer readable storage medium including computerexecutable program instructions for configuring a token transfer devicefor electronic transactions, the instructions comprising: programinstructions to request, by a token transfer device, one or more tokenshaving specified transaction exchange value; program instructions toreceive, over a network, the one or more tokens; program instructions toassign, by the token transfer device, validation parameters indicatingconditions under which the one or more tokens will be accepted in atransaction; program instructions to determine, by the token transferdevice, that one or more of the conditions have been met based on dataprovided by electronic components of the token transfer device; andprogram instructions to initiate, over a near field communicationchannel, the transaction with a point of sale system.
 8. The computerprogram product of claim 7, wherein the electronic components includeglobal position sensor, near field communication controller, specialpurpose registers of the token transfer device.
 9. The computer programproduct of claim 8, wherein the validation parameters include a firstvalue associated with a network disconnect status of the token transferdevice.
 10. The computer program product of claim 9, wherein thevalidation parameters further includes a second value associated with anetwork connect status of the token transfer device.
 11. The computerprogram product of claim 10, wherein the program code to initiate thetransaction includes program code to: send a transaction service requestto a token recipient terminal of the point of sale system; receive atransaction response from the token recipient terminal; and suspend thetransaction in response to the transaction response.
 12. The computerprogram product of claim 8, wherein the validation parameter is assignedby a token management program executed from within the token transferdevice.
 13. A token transfer device comprising: a processor; a computerreadable storage medium including computer executable programinstructions for configuring a token transfer device for electronictransactions, the instructions comprising: program instructions torequest, by a token transfer device, one or more tokens having specifiedtransaction exchange value; program instructions to receive, over anetwork, the one or more tokens; program instructions to assign, by thetoken transfer device, validation parameters indicating conditions underwhich the one or more tokens will be accepted in a transaction; programinstructions to determine, by the token transfer device, that one ormore of the conditions have been met based on data provided byelectronic components of the token transfer device; and programinstructions to initiate, over a near field communication channel, thetransaction with a point of sale system.
 14. The apparatus of claim 13,wherein the electronic components include global position sensor, nearfield communication controller, special purpose registers of the tokentransfer device.
 15. The apparatus of claim 14, wherein the validationparameters include a first value associated with a network disconnectstatus of the token transfer device.
 16. The apparatus of claim 14,wherein the validation parameters further includes a second valueassociated with a network connect status of the token transfer device.17. The apparatus of claim 13, wherein the program code to initiate thetransaction includes program code to: send a transaction service requestto a token recipient terminal of the point of sale system; receive atransaction response from the token recipient terminal; and suspend thetransaction in response to the transaction response.
 18. The computerprogram product of claim 13, wherein the validation parameter isassigned by a token management program executed from within the tokentransfer device.